﻿namespace Probel.NDoctor.Statistics.UnitTests.MySql
{
    using NUnit.Framework;

    using Probel.NDoctor.Statistics.UnitTests.Helpers;

    [Category("Database")]
    public class StatisticsExporter : BaseStatisticsExporter
    {
        #region Constructors

        public StatisticsExporter()
            : base(Queries.ForMySql(SettingsMySql.Server, SettingsMySql.Database, SettingsMySql.UserName, SettingsMySql.Password))
        {
        }

        #endregion Constructors

        #region Methods

        [Test]
        public void Import_DataToRepository_ExportSucceeded()
        {
            this.Factory.Import(Data.Applications, Data.Statistics, Data.Durations);
        }

        #endregion Methods
    }
}